Skip to content

feat(lock-flow): display available wallet balance in pool deposit modal (closes #311) - #331

Open
ghzhost wants to merge 1 commit into
SmartDropLabs:mainfrom
ghzhost:feat/wallet-balance-in-lock-flow
Open

feat(lock-flow): display available wallet balance in pool deposit modal (closes #311)#331
ghzhost wants to merge 1 commit into
SmartDropLabs:mainfrom
ghzhost:feat/wallet-balance-in-lock-flow

Conversation

@ghzhost

@ghzhost ghzhost commented Sep 5, 2026

Copy link
Copy Markdown

Summary

Closes #311

When locking assets in the pool detail page (/farm/[poolId]), users were unable to see their available wallet balance next to the amount input field, requiring them to switch back and forth to Freighter to confirm funds.

Changes

  • In src/app/farm/[poolId]/PoolDetailClient.tsx:
    • Show the user's available Stellar wallet balance next to the "Amount" label in the deposit modal when connected
    • Provide a quick click-to-fill handler on the balance value to set the input to max available balance
    • Add inline warning when the entered amount exceeds the available balance
  • Clean typecheck and build validation

@netlify

netlify Bot commented Sep 5, 2026

Copy link
Copy Markdown

Deploy Preview for spiffy-melomakarona-eb1e8a ready!

Name Link
🔨 Latest commit 706e604
🔍 Latest deploy log https://app.netlify.com/projects/spiffy-melomakarona-eb1e8a/deploys/6a9b5e7e0afa84000849ac11
😎 Deploy Preview https://deploy-preview-331--spiffy-melomakarona-eb1e8a.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Sep 5, 2026

Copy link
Copy Markdown

Deploy Preview for smart-drop ready!

Name Link
🔨 Latest commit 706e604
🔍 Latest deploy log https://app.netlify.com/projects/smart-drop/deploys/6a9b5e7ee1e9580008ccfb06
😎 Deploy Preview https://deploy-preview-331--smart-drop.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No wallet balance display in lock flow

1 participant